﻿{% extends "gma/base.html" %}

<!-- CONTENT
  =====================================================================-->

{% block content %}

{% for log in logs %}
<div class="weui-form-preview">
    <div class="weui-form-preview__hd">
        <div class="weui-form-preview__item">
            <label class="weui-form-preview__label"> 目标 </label>
            <em class="weui-form-preview__value"> {{ log.category_desp }} </em>
        </div>
    </div>
    <div class="weui-form-preview__bd">
        <div class="weui-form-preview__item">
            <label class="weui-form-preview__label"> 日期 </label>
            <span class="weui-form-preview__value"> {{ log.create_time|date:"Y-m-d H:i:s" }} </span>
        </div>
        {% if log.uid > 0 %}
        <div class="weui-form-preview__item">
            <label class="weui-form-preview__label"> 用户 </label>
            <span class="weui-form-preview__value"> User-{{ log.uid }} </span>
        </div>
        {% endif %}
        <div class="weui-form-preview__item">
            <label class="weui-form-preview__label"> 内容 </label>
            <span class="weui-form-preview__value"> {{ log.message }} </span>
        </div>
        <div class="weui-form-preview__item">
            <label class="weui-form-preview__label"> 备注 </label>
            <span class="weui-form-preview__value"> {{ log.comment }} </span>
        </div>
    </div>
</div>
<br>
{% endfor %}

<div class="page__ft">
    <a href="{% url 'gma:home' %}">
        <span class="bottom-logo">
           HiBao
       </span>
    </a>
</div>

{% endblock content %}


<!-- SCRIPT
  =====================================================================-->

{% block extra_js %}
{% endblock extra_js %}